package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * BudgetSubject entity. @author MyEclipse Persistence Tools
 */

public class BudgetSubject implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8580371894413998808L;
	// Fields
	private String id;
	// 科目名
	private String name;
	// 科目英文名
	private String nameEn;
	// 描述
	private String description;
	// 10 收入 20 支出
	private Integer type;
	// parentId
	private String parentId;
	// 品牌id
	private Brand brand;
	// 科目编号
	private String code;
	// 创建时间
	private Timestamp createdStamp;
	// 更新时间
	private Timestamp lastUpdatedStamp;
	// 创建人
	private Person createdId;
	
	private Set<Budget> budgets = new HashSet<Budget>(0);
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNameEn() {
		return nameEn;
	}
	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public Brand getBrand() {
		return brand;
	}
	public void setBrand(Brand brand) {
		this.brand = brand;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}
	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}
	public Person getCreatedId() {
		return createdId;
	}
	public void setCreatedId(Person createdId) {
		this.createdId = createdId;
	}
	public Set<Budget> getBudgets() {
		return budgets;
	}
	public void setBudgets(Set<Budget> budgets) {
		this.budgets = budgets;
	}
	
	
	
}